package com.jwttest.jwt.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * author: MaHX
 * date: 2019/10/28/18:50
 * description:
 **/
@RestController
public class controller {
    @GetMapping("/hello")
    public String hello(){
        return "Hello";
    }
    @GetMapping("/admin")
    public String admin(){
        return "admin";
    }
}
